package com.wenbai.servicelightluxurystickers.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wenbai.servicelightluxurystickers.entity.StickManage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface StickManageMapper extends BaseMapper<StickManage>{

    /**
     * 根据账号查询管理员
     * @param account
     * @return
     */
    @Select("select * from stick_manage where account = #{account}")
    StickManage getByAccount(String account);
}
